Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/change workdir #238

Merged
merged 4 commits into from
Apr 18, 2024
Merged

Feature/change workdir #238

merged 4 commits into from
Apr 18, 2024

Conversation

edualvess
Copy link
Contributor

Context

This PR aims to set the container WORKDIR on the image to a path not used in building stages that could be later mounted using ephemeral disks. The former path used is not suitable for the ephemeral volume mount mentioned since the building process persists data on it, and mounting an empty volume on this path would cause the container to lose the data required.
This change also requires the Stellar core configuration path to be adjusted for commands where the CoreConfig is not passed as an argument since it is gotten from environment details and later set to paths relative to the container WORKDIR.

Key Changes

  • Changed docker WORKDIR to /etl/data from /etl
  • Set the utils EnvironmentDetails values for CoreConfig to refer to the absolute path instead of the relative path.

@edualvess edualvess requested a review from a team as a code owner April 18, 2024 18:09
Copy link
Contributor

@sydneynotthecity sydneynotthecity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sydneynotthecity sydneynotthecity merged commit 573019d into master Apr 18, 2024
4 checks passed
@sydneynotthecity sydneynotthecity deleted the feature/change_workdir branch April 18, 2024 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants